.class Lcom/waiqin365/lightapp/visit/dq;
.super Landroid/os/Handler;


# instance fields
.field a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/dq;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8

    const v2, 0x7f0806f1

    const/4 v5, -0x1

    const/4 v7, 0x1

    const/16 v6, 0x8

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/dq;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->dismissProgressDialog()V

    iget v1, p1, Landroid/os/Message;->what:I

    sparse-switch v1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/visit/a/a/aj;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->c:Ljava/lang/String;

    if-eqz v2, :cond_2

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->c:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_2

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->c:Ljava/lang/String;

    :cond_2
    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/a/aj;->b()Z

    move-result v2

    if-eqz v2, :cond_16

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->b:Ljava/lang/String;

    if-eqz v2, :cond_15

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_15

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)I

    move-result v2

    if-ne v2, v7, :cond_3

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Z

    move-result v2

    if-nez v2, :cond_3

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->j(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->clear()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    :cond_3
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Z

    move-result v2

    if-nez v2, :cond_4

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)I

    :cond_4
    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->f:Ljava/util/HashMap;

    if-eqz v2, :cond_5

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/CalendarView;

    move-result-object v2

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->f:Ljava/util/HashMap;

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/CalendarView;->setMarkList(Ljava/util/HashMap;)V

    :cond_5
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Z

    move-result v2

    if-nez v2, :cond_10

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ne v2, v7, :cond_b

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/visit/b/ag;

    move v3, v4

    :goto_1
    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/b/ag;->c:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v3, v2, :cond_9

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/b/ag;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/visit/b/w;

    new-instance v5, Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-direct {v5}, Lcom/waiqin365/lightapp/visit/b/bd;-><init>()V

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->a:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    iget-object v6, v1, Lcom/waiqin365/lightapp/visit/b/ag;->a:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->g:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->b:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->c:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->l:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->d:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->j:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->e:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->m:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->f:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->n:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->g:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->h:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->P:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->i:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->Q:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->j:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->k:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->p:Ljava/lang/String;

    iget-object v6, v2, Lcom/waiqin365/lightapp/visit/b/w;->l:Ljava/lang/String;

    iput-object v6, v5, Lcom/waiqin365/lightapp/visit/b/bd;->U:Ljava/lang/String;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/w;->m:Ljava/lang/String;

    iput-object v2, v5, Lcom/waiqin365/lightapp/visit/b/bd;->W:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto :goto_1

    :sswitch_1
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/visit/a/a/aq;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/a/aq;->b()Z

    move-result v2

    if-eqz v2, :cond_8

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aq;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aq;->c:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_6

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/content/Context;

    move-result-object v2

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aq;->c:Ljava/lang/String;

    invoke-static {v2, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :cond_6
    iput-boolean v7, v0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v3, "#e0e0e0"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setDivider(Landroid/graphics/drawable/Drawable;)V

    invoke-static {v0, v7}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;I)I

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)I

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;I)V

    goto/16 :goto_0

    :cond_7
    const v2, 0x7f080035

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aq;->c:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_1f

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aq;->c:Ljava/lang/String;

    :goto_2
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_8
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f0806ae

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_9
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->m(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v2

    const v3, 0x7f080653

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-array v5, v7, [Ljava/lang/Object;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/ag;->c:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, v5, v4

    invoke-static {v3, v5}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    if-eqz v1, :cond_a

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/ah;->notifyDataSetChanged()V

    :goto_3
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b()V

    goto/16 :goto_0

    :cond_a
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_3

    :cond_b
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->j(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/List;

    move-result-object v2

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "pos"

    invoke-virtual {v2, v3, v5}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    if-eq v2, v5, :cond_f

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    const/4 v5, 0x0

    move v3, v4

    :goto_4
    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    if-eqz v2, :cond_1e

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v3, v2, :cond_1e

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/visit/b/ag;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/ag;->a:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_c

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/visit/b/ag;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/ag;->a:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v6

    const-string/jumbo v7, "userId"

    invoke-virtual {v6, v7}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v2, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_c

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/visit/b/ag;

    move-object v2, v1

    :goto_5
    if-eqz v2, :cond_d

    iget-object v1, v2, Lcom/waiqin365/lightapp/visit/b/ag;->c:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v4, v1, :cond_d

    iget-object v1, v2, Lcom/waiqin365/lightapp/visit/b/ag;->c:Ljava/util/ArrayList;

    invoke-virtual {v1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/visit/b/w;

    new-instance v3, Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/visit/b/bd;-><init>()V

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->a:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    iget-object v5, v2, Lcom/waiqin365/lightapp/visit/b/ag;->a:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->g:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->b:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->k:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->c:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->l:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->d:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->j:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->e:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->m:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->f:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->n:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->g:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->h:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->P:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->i:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->Q:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->j:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->k:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->p:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/visit/b/w;->l:Ljava/lang/String;

    iput-object v5, v3, Lcom/waiqin365/lightapp/visit/b/bd;->U:Ljava/lang/String;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/w;->m:Ljava/lang/String;

    iput-object v1, v3, Lcom/waiqin365/lightapp/visit/b/bd;->W:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v4, v4, 0x1

    goto :goto_5

    :cond_c
    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto/16 :goto_4

    :cond_d
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    if-eqz v1, :cond_e

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/ah;->notifyDataSetChanged()V

    :goto_6
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    goto/16 :goto_0

    :cond_e
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_6

    :cond_f
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v2

    if-eqz v2, :cond_12

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/x;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/visit/b/x;->notifyDataSetChanged()V

    :goto_7
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyy-MM-dd"

    sget-object v5, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v2, v3, v5}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    :try_start_0
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v3

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v5

    invoke-virtual {v5}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v5

    invoke-virtual {v2, v5}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v5}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/util/Date;->before(Ljava/util/Date;)Z

    move-result v2

    if-eqz v2, :cond_13

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v2

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_8
    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->e:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    iget v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->d:I

    if-ge v2, v1, :cond_14

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :cond_10
    :goto_9
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Z

    move-result v1

    if-nez v1, :cond_11

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v4}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v6}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    :cond_11
    :goto_a
    invoke-static {v0, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;Z)Z

    goto/16 :goto_0

    :cond_12
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v2

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/x;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    goto :goto_7

    :cond_13
    :try_start_1
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_1
    .catch Ljava/text/ParseException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_8

    :catch_0
    move-exception v2

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v2}, Ljava/text/ParseException;->printStackTrace()V

    goto :goto_8

    :cond_14
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_9

    :cond_15
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v2

    iget v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->a:I

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    const-string/jumbo v2, "1"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    goto :goto_a

    :cond_16
    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v2

    iget v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aj;->a:I

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    const-string/jumbo v2, "1"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_a

    :sswitch_2
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/visit/a/a/aa;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->c:Ljava/lang/String;

    if-eqz v3, :cond_17

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->c:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_17

    iget-object v2, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->c:Ljava/lang/String;

    :cond_17
    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/a/aa;->b()Z

    move-result v3

    if-eqz v3, :cond_19

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->b:Ljava/lang/String;

    if-eqz v3, :cond_18

    const-string/jumbo v3, "1"

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->b:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_18

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->s(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/bd;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/ah;->notifyDataSetChanged()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    goto/16 :goto_0

    :cond_18
    invoke-static {v0, v2, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_19
    iget v1, v1, Lcom/waiqin365/lightapp/visit/a/a/aa;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :sswitch_3
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->dismissProgressDialog()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/visit/a/a/ap;

    if-eqz v1, :cond_1d

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/a/ap;->b()Z

    move-result v2

    if-eqz v2, :cond_1d

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1a

    iput-boolean v7, v0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    const v1, 0x7f080553

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_1a
    const-string/jumbo v2, "0"

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1b

    const v1, 0x7f08054b

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_1b
    const-string/jumbo v2, "2"

    iget-object v3, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1c

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->c:Ljava/lang/String;

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_1c
    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->c:Ljava/lang/String;

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_1d
    if-eqz v1, :cond_0

    iget v1, v1, Lcom/waiqin365/lightapp/visit/a/a/ap;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_1e
    move-object v2, v5

    goto/16 :goto_5

    :cond_1f
    move-object v1, v2

    goto/16 :goto_2

    :sswitch_data_0
    .sparse-switch
        0x2be -> :sswitch_0
        0x2c0 -> :sswitch_2
        0x324 -> :sswitch_3
        0x326 -> :sswitch_1
    .end sparse-switch
.end method
